﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EntLib.Domain.DAL;
using EntLib.Domain.Model;

namespace EntLib.Domain.BLL
{
    public class OrderBLL
    {
        private static readonly OrderDA _dal = new OrderDA();
        /// <summary>
        /// 根据用户指定条件，获取订单分页列表
        /// </summary>
        /// <param name="userId">UserID</param>
        /// <param name="orderId">OrderID</param>
        /// <param name="mallIdentifier">商城标识</param>
        /// <param name="pageindex">索引页</param>
        /// <param name="total">总记录数</param>
        /// <param name="status">状态 - 0:未审核,1:已审核，null则不筛选</param>        
        /// <returns></returns>
        public List<Order> GetOrderPagingList(int userId, string orderId, string mallIdentifier, int pageIndex, out int total, int? status)
        {
            return _dal.GetOrderPagingList(userId, orderId, mallIdentifier, pageIndex, out total, status);
        }
    }
}
